package com.px.mbg.model;

import com.px.mbg.base.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 品讯科技
 * @since 2022-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="GuestComplaint对象", description="")
public class GuestComplaint extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提出者")
    private String initiator;

    @ApiModelProperty(value = "发起日期")
    private LocalDateTime initiationTime;

    @ApiModelProperty(value = "报告编码")
    private String reportNo;

    @ApiModelProperty(value = "不合格来源")
    private String sourceOf;

    @ApiModelProperty(value = "负责部门")
    private String respDept;

    @ApiModelProperty(value = "发现地点")
    private String location;

    @ApiModelProperty(value = "负责人（签收）")
    private String owner;

    @ApiModelProperty(value = "签收日期")
    private LocalDateTime ownerTime;

    @ApiModelProperty(value = "产品的基本信息")
    private String partRelatedInfo;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "产品描述")
    private String partDisCription;

    @ApiModelProperty(value = "产品名称")
    private String partName;

    @ApiModelProperty(value = "客户产品编码")
    private String customerCode;

    @ApiModelProperty(value = "邮件附后")
    private String emailAttached;

    @ApiModelProperty(value = "问题描述")
    private String problemDiscription;

    @ApiModelProperty(value = "改善小组")
    private String responsibleTeam;

    @ApiModelProperty(value = "确定根本原因")
    private String defineRootCause;

    @ApiModelProperty(value = "执行临时应急的纠正措施")
    private String corrective;

    @ApiModelProperty(value = "纠正措施负责人")
    private String correctiveOwner;

    @ApiModelProperty(value = "纠正措施完成日期")
    private LocalDateTime correctiveTime;

    @ApiModelProperty(value = "执行永久性的改善措施")
    private String improve;

    @ApiModelProperty(value = "改善措施负责人")
    private String improveOwner;

    @ApiModelProperty(value = "改善措施完成时间")
    private LocalDateTime improveTime;

    @ApiModelProperty(value = "预防再次发生的措施")
    private String preventive;

    @ApiModelProperty(value = "预防再次发生措施负责人")
    private String preventiveOwner;

    @ApiModelProperty(value = "预防再次发生措施完成时间")
    private LocalDateTime preventiveTime;

    @ApiModelProperty(value = "起草")
    private String prepared;

    @ApiModelProperty(value = "起草时间")
    private LocalDateTime preparedTime;

    @ApiModelProperty(value = "审批")
    private String approved;

    @ApiModelProperty(value = "审批时间")
    private LocalDateTime approvedTime;

    @ApiModelProperty(value = "对以上改善措施执行效果的确认")
    private String effectivenes;

    @ApiModelProperty(value = "确认描述")
    private String verificationDetail;

    @ApiModelProperty(value = "确认结果")
    private String result;

    @ApiModelProperty(value = "确认人")
    private String verifier;

    @ApiModelProperty(value = "确认日期")
    private LocalDateTime verifierTime;

    @ApiModelProperty(value = "再次确认描述")
    private String verificationDetailTwo;

    @ApiModelProperty(value = "再次确认结果")
    private String resultTwo;

    @ApiModelProperty(value = "再次确认人")
    private String verifierTwo;

    @ApiModelProperty(value = "再次确认日期")
    private LocalDateTime verifierTimeTwo;

    @ApiModelProperty(value = "对小组成员解决问题付出努力的承认和肯定")
    private String teanRecognition;


}
